/**
 * 
 */
package com.zuipin.vo;

import java.math.BigDecimal;
import java.util.Map;

import com.zuipin.framework.emuns.ErrorCode;

/** 
 * @ClassName: CheckResult 
 * @author wuyicheng
 * @time 2017年7月11日下午3:37:32 
 */
public class CheckRuleSetResult {
	private Short					isCanGet;						// 是否符合领取规则
	private Short					isCanUse;						// 是否符合使用规则
	private Short					isDisableRedpacket;				// 是否禁用红包 1是 0否
	private ErrorCode				errorCode;						// 错误码
	private Map<String, BigDecimal>	limitProMap;					// 符合商品列表
	
	public static final Short		YES_1				= 1;		// 是
	public static final Short		NO_0				= 0;		// 否
	
	/**
	 * 是否禁用红包 1是 0否
	 */
	public static final Short		IS_DISABLE_YES_1	= (short) 1;
	public static final Short		IS_DISABLE_NO_0		= (short) 0;
	
	/** 
	 * @author wuyicheng11
	 * @date 2017年7月11日下午5:11:24 
	 * @Description: 
	 * @param @param errorCode
	 * @throws 
	 */
	public CheckRuleSetResult(ErrorCode errorCode) {
		this.errorCode = errorCode;
	}
	
	public Short getIsCanGet() {
		return isCanGet;
	}
	
	public void setIsCanGet(Short isCanGet) {
		this.isCanGet = isCanGet;
	}
	
	public Short getIsCanUse() {
		return isCanUse;
	}
	
	public void setIsCanUse(Short isCanUse) {
		this.isCanUse = isCanUse;
	}
	
	public Short getIsDisableRedpacket() {
		return isDisableRedpacket;
	}
	
	public void setIsDisableRedpacket(Short isDisableRedpacket) {
		this.isDisableRedpacket = isDisableRedpacket;
	}
	
	public ErrorCode getErrorCode() {
		return errorCode;
	}
	
	public void setErrorCode(ErrorCode errorCode) {
		this.errorCode = errorCode;
	}
	
	// totalNums 总数量
	// totalAmount 总金额
	public Map<String, BigDecimal> getLimitProMap() {
		return limitProMap;
	}
	
	public void setLimitProMap(Map<String, BigDecimal> limitProMap) {
		this.limitProMap = limitProMap;
	}
	
}
